package com.dingtao.common.bean;

import com.alibaba.fastjson.annotation.JSONField;

import lombok.Data;
import lombok.NoArgsConstructor;

@NoArgsConstructor
@Data
public class PaidanOrderDetail {

    @JSONField(name = "area")
    private String area;
    @JSONField(name = "beginDate")
    private String beginDate;
    @JSONField(name = "beginTime")
    private BeginTimeDTO beginTime;
    @JSONField(name = "cancel")
    private boolean cancel;
    @JSONField(name = "content")
    private String content;
    @JSONField(name = "dispatchOrderId")
    private String dispatchOrderId;
    @JSONField(name = "finished")
    private boolean finished;
    @JSONField(name = "memberImg")
    private String memberImg;
    @JSONField(name = "mid")
    private String mid;
    @JSONField(name = "nickname")
    private String nickname;
    @JSONField(name = "orderId")
    private String orderId;
    @JSONField(name = "orderTime")
    private String orderTime;
    @JSONField(name = "price")
    private String price;
    @JSONField(name = "status")
    private int status;

    @NoArgsConstructor
    @Data
    public static class BeginTimeDTO {
        @JSONField(name = "hour")
        private int hour;
        @JSONField(name = "minute")
        private int minute;
        @JSONField(name = "nano")
        private int nano;
        @JSONField(name = "second")
        private int second;
    }
}
